Federico Leva [Wed, 1 Jul 2015 12:27:55 +0000 (14:27 +0200)]
Account for unset visiting watchers
Followup to
09a21c4af8dd53644edd31fe731638b60f91594a
Now with `|| $user->isAllowed( 'unwatchedpages' )` we can enter
line 337 without having any count to show.
Change-Id: I6826e1c59899d2c8cbbc6d079874d0d583f8783a
Federico Leva [Mon, 2 Mar 2015 16:16:58 +0000 (17:16 +0100)]
Attempt to count actual watchers in the info action
Proposed threshold to be considered an "active" watcher:
two times $wgRCMaxAge, configurable with the new
configuration setting $wgWatchersMaxAge.
The information is not displayed when the number given would
be 1 or 0, so that the number (or absence thereof) doesn't
"disclose" that the page is (potentially) unpatrolled or
completely unwatched and hence easier to vandalise.
Configurable with $wgUnwatchedPageSecret too.
Also, we don't display this row at all when the user doesn't
have the right to see the count of total watchers.
Bug: T51506
Change-Id: I10d294a339b131eee94839ed7088ab20d746d881
jenkins-bot [Wed, 1 Jul 2015 04:19:14 +0000 (04:19 +0000)]
Merge "Replace some MWException usage in User"
Aaron Schulz [Thu, 25 Jun 2015 20:02:18 +0000 (13:02 -0700)]
Replace some MWException usage in User
Change-Id: I61dbd6223354530311c497ad0f45ed49a573d0cb
Timo Tijhof [Wed, 1 Jul 2015 03:33:13 +0000 (04:33 +0100)]
resourceloader: Make minify cache keys globally shared instead of local
The keys already contain a hash of the contents and the version of
the filter system. No need for these to be fragmented by wiki.
Previously wiki farms would minify the same module build for
every wiki. For e.g. Wikimedia this should bring down minification
runs for a new module version from ~800x to something lower.
It won't be 1 since modules may still vary by language, or config.
This should speed up load.php responses when a new module version
is deployed.
It will also reduce response time for page views of logged-in
users due to improved minification cache of embedded modules.
Change-Id: Iee884208c5c4ba40b46abd332271df698c6afb6f
jenkins-bot [Tue, 30 Jun 2015 22:14:35 +0000 (22:14 +0000)]
Merge "Automatically infuse any infusable OOUI widgets present on the page"
jenkins-bot [Tue, 30 Jun 2015 20:37:33 +0000 (20:37 +0000)]
Merge "tooltip-ca-edit: Simplify wording to align with others"
jenkins-bot [Tue, 30 Jun 2015 20:30:11 +0000 (20:30 +0000)]
Merge "Add maintenance script to populate page,revision,archive.*_content_* fields"
jenkins-bot [Tue, 30 Jun 2015 20:30:06 +0000 (20:30 +0000)]
Merge "Add Special:ChangeContentModel"
jenkins-bot [Tue, 30 Jun 2015 20:22:54 +0000 (20:22 +0000)]
Merge "MediaWiki.php: Redirect non-standard title urls to canonical"
Kunal Mehta [Mon, 29 Jun 2015 20:51:39 +0000 (13:51 -0700)]
Add maintenance script to populate page,revision,archive.*_content_* fields
Bug: T103388
Co-Authored-By: Roan Kattouw <roan.kattouw@gmail.com>
Change-Id: I65ab629d25c394751c05ce6b5c1a27464893896d
jenkins-bot [Tue, 30 Jun 2015 20:19:01 +0000 (20:19 +0000)]
Merge "OOUIHTMLForm: Make setting 'readonly' on a text field actually work"
Kunal Mehta [Sun, 29 Mar 2015 03:36:01 +0000 (20:36 -0700)]
Add Special:ChangeContentModel
Special:ChangeContentModel allows for users with the 'editcontentmodel'
right to change the content model of a page.
Visiting Special:ChangeContentModel will contain an input field for a
page title. The user will then be sent to
Special:ChangeContentModel?pagetitle=<input> where the page title is
read only, with a content model selector and optional reason field.
The special page only allows converting between content models that
extend TextContent for simplicity. Advanced conversions should be done
via the API.
All content model changes via the special page or API generate a null
revision in the page history and a log entry at
Special:Log/contentmodel. The log entry has a revert link for
convenience (like the move log).
Bug: T72592
Co-Authored-By: Lewis Cawte <lewis@lewiscawte.me>
Change-Id: I296a67c09fcbc880c8c3a648eb5086580725ea46
Kunal Mehta [Tue, 30 Jun 2015 20:03:58 +0000 (13:03 -0700)]
OOUIHTMLForm: Make setting 'readonly' on a text field actually work
Previously 'readOnly' was set to an empty string, which casts to boolean
false.
Change-Id: I7d1e7f02731c7235da2ae1e0a5e3d0be2b44d978
Bartosz Dziewoński [Mon, 29 Jun 2015 19:05:50 +0000 (21:05 +0200)]
Parser: Correct setHook() documentation
Change-Id: Iaeaac9ea79b696dfa39adb6608ed68edd3754516
Translation updater bot [Tue, 30 Jun 2015 18:41:31 +0000 (20:41 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I553f3c84db5ceb3b5bffb03c024671a74f6d20ef
Roan Kattouw [Mon, 25 May 2015 09:58:36 +0000 (11:58 +0200)]
Automatically infuse any infusable OOUI widgets present on the page
Change-Id: I931df032c3d8dc5807c7590a763b8d9060c5ee87
Timo Tijhof [Tue, 30 Jun 2015 01:12:40 +0000 (02:12 +0100)]
resourceloader: Move applyFilter() stats back to filter()
Follow-up
b88e88b, which converted the count stats to include
timing information but incidentally moved the gathering point
inside the method, which meant it now also applied to uncached
minifications from logged-in user html views (called from one
branch higher in the filter method).
This should reset the 'resourceloader_cache.minify-js.miss.count'
back to normal levels.
Change-Id: I7761242f016e9026f5012352ec2f7297c1753f25
Roan Kattouw [Mon, 25 May 2015 09:54:29 +0000 (11:54 +0200)]
Add a PHP implementation of TitleInputWidget
From the PHP side it's really just an infusable TextInputWidget.
Change-Id: I607339c2e967e502f85164c9b1ea79dc0a17c9cc
Timo Tijhof [Fri, 26 Jun 2015 05:57:17 +0000 (06:57 +0100)]
resourceloader: Add timing metrics for key operations
* Minification of css and js.
* Total generation of module content.
Includes:
- Fetching/generating of content (files, wikipage, dynamic).
- Pre/post processing (concat, less>css, cssjanus, ..)
Change-Id: Id60e665dfb6280aa254116f0867b909afc6f878a
James D. Forrester [Mon, 29 Jun 2015 19:21:38 +0000 (12:21 -0700)]
tooltip-ca-edit: Simplify wording to align with others
Previous text:
"You can edit this page. Please use the preview button before saving"
Faults:
* Too wordy
* Mentions part of the interface on the next screen unnecessarily
* Unlike every other tooltip, isn't an verb to match the tab
New text:
"Edit this page"
Advantages
* Shorter and simpler
* Aligns with other tooltips in matching the tab
* Doesn't mention an interface artefact from the next page
Change-Id: I03b45f8516094f990e5823f6dacb3d1fd651f383
Ori Livneh [Sat, 27 Jun 2015 19:54:40 +0000 (12:54 -0700)]
Create a subdirectory for compatibility stubs
Instead of littering includes/ with stub back-compat aliases, house such
classes in includes/compat/.
Change-Id: I4c1b83e35c8d6c18777a4a3e17d81023915cfb7f
addshore [Mon, 29 Jun 2015 18:44:15 +0000 (18:44 +0000)]
Merge "Remove use of deprecated utf8ToCodepoint in ApiFormatXml."
addshore [Mon, 29 Jun 2015 18:21:44 +0000 (20:21 +0200)]
Remove use of deprecated utf8ToCodepoint in ApiFormatXml.
This usage, in ApiFormatXml, is the final usage
in core.
Change-Id: Ibd926863d323e6d6d1b2cc5fd5f5f0e1aef8529d
Translation updater bot [Mon, 29 Jun 2015 18:21:48 +0000 (20:21 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1dca47863d72f6a14e0d87762368423c7e718556
Translation updater bot [Sun, 28 Jun 2015 19:17:21 +0000 (21:17 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ied494f43403178b8614cd986e523e2278059f213
jenkins-bot [Sun, 28 Jun 2015 01:16:19 +0000 (01:16 +0000)]
Merge "Don't cast SpecialPageFactory::$aliases to an object"
Reedy [Sun, 28 Jun 2015 01:03:48 +0000 (02:03 +0100)]
Remove a few more PHP4-isms from update.php
Change-Id: I98f12f3b4ff11341839202311f492f1a8cca2882
Reedy [Wed, 10 Sep 2014 19:07:18 +0000 (20:07 +0100)]
Don't cast SpecialPageFactory::$aliases to an object
Change-Id: I4793c5916cfa227681f3e8d95d03a5ce25cbe356
jenkins-bot [Sun, 28 Jun 2015 00:28:30 +0000 (00:28 +0000)]
Merge "Made SqlBagOStuff unset DB handles on connection errors"
jenkins-bot [Sun, 28 Jun 2015 00:26:07 +0000 (00:26 +0000)]
Merge "database: Small DB class cleanups"
Aaron Schulz [Thu, 25 Jun 2015 00:24:00 +0000 (17:24 -0700)]
database: Small DB class cleanups
* Moved some duplicated logic to assertOpen() method
* Override doc type for mConn for the mysqli subclass
* Fixed a few code comments
Change-Id: I78d595554ed51f64ca7cf7bd7ce369a492a59145
Alex Monk [Sat, 27 Jun 2015 20:20:27 +0000 (21:20 +0100)]
Set 644 file permissions on some *.php files
Bug: T103754
Change-Id: I2f5bae84463ea849ceae027c17b924779adf8c19
jenkins-bot [Sat, 27 Jun 2015 19:17:56 +0000 (19:17 +0000)]
Merge "Switch some HTMLForms in special pages to OOUI"
jenkins-bot [Sat, 27 Jun 2015 19:07:37 +0000 (19:07 +0000)]
Merge "Remove unused message 'passwordreset-legend'"
jenkins-bot [Sat, 27 Jun 2015 19:07:34 +0000 (19:07 +0000)]
Merge "SpecialResetTokens: Switch to OOUI form"
Bartosz Dziewoński [Fri, 1 May 2015 00:23:50 +0000 (02:23 +0200)]
Switch some HTMLForms in special pages to OOUI
Bug: T101473
Bug: T101474
Bug: T101475
Change-Id: I2c3d6486e09b3e4d5537b95194e178fd73ac9792
Bartosz Dziewoński [Sat, 27 Jun 2015 18:55:02 +0000 (20:55 +0200)]
Remove unused message 'passwordreset-legend'
Special:PasswordReset does not have a legend box where this could be used.
Change-Id: I975cea045a6b60d2967b9c7009086a017ae60958
Bartosz Dziewoński [Sun, 14 Jun 2015 22:43:53 +0000 (00:43 +0200)]
SpecialResetTokens: Switch to OOUI form
Pretty!
Change-Id: I30d401cc7c827b21eb2fb116558d0d9e764ec1f3
jenkins-bot [Sat, 27 Jun 2015 18:52:16 +0000 (18:52 +0000)]
Merge "OOUIHTMLForm: Implement HTMLRadioField"
jenkins-bot [Sat, 27 Jun 2015 18:50:05 +0000 (18:50 +0000)]
Merge "OOUIHTMLForm: Implement HTMLMultiSelectField"
jenkins-bot [Sat, 27 Jun 2015 18:43:40 +0000 (18:43 +0000)]
Merge "OOUIHTMLForm: Correctly handle submit modifier flags"
Alex Monk [Fri, 26 Jun 2015 18:03:15 +0000 (19:03 +0100)]
UserrightsPage: Avoid passing null target
Bug: T103945
Change-Id: I80598ce6d12a73a7a3c399fbacc2a253999177b2
Bartosz Dziewoński [Sun, 14 Jun 2015 18:17:09 +0000 (20:17 +0200)]
OOUIHTMLForm: Implement HTMLRadioField
Example usage in I2c3d6486e09b3e4d5537b95194e178fd73ac9792
(Special:PageLanguage). Trivial now that we have RadioSelectInputWidget
in OOUI (added in
fd2815e372f6a4beb4f4e5f2a7d9cbf785d40851).
Depends on If68f04a2fa20e7c03763898ab80cf39b5e6cb182 in OOUI.
Bug: T98855
Change-Id: I224e591e58534c07af62eebb9ae4b185225edc33
jenkins-bot [Sat, 27 Jun 2015 13:20:50 +0000 (13:20 +0000)]
Merge "Fix Button label in OOUI HTML Form and enable flags"
Bartosz Dziewoński [Sun, 14 Jun 2015 18:14:31 +0000 (20:14 +0200)]
OOUIHTMLForm: Implement HTMLMultiSelectField
Example usage in I30d401cc7c827b21eb2fb116558d0d9e764ec1f3.
Following the template set by HTMLCheckMatrix, which for some reason
was implemented first. Also removed unfulfillable @todo comment.
Also corrected HTMLCheckMatrix code not to wrap OOUI widgets in
MediaWiki UI wrappers even when 'UseMediaWikiUIEverywhere' is set to
true, and to set the correct 'value' for checkboxes.
Bug: T100955
Change-Id: Ib5d000ca9a08abc8086ee05b5122116b086242ad
Bartosz Dziewoński [Sun, 14 Jun 2015 18:09:52 +0000 (20:09 +0200)]
OOUIHTMLForm: Correctly handle submit modifier flags
Rejigger some HTMLForm internals to remove the hardcoded assumption of
using 'mw-ui' classes.
Bug: T98903
Change-Id: Icc20453c999c761b87e19a71ccd43d93b9c1bfa7
jenkins-bot [Sat, 27 Jun 2015 12:55:13 +0000 (12:55 +0000)]
Merge "OOUIHTMLForm: Make the submit button infusable"
jenkins-bot [Sat, 27 Jun 2015 12:49:25 +0000 (12:49 +0000)]
Merge "mediawiki.log: Remove call to console.trace() for each warning"
Timo Tijhof [Fri, 26 Jun 2015 08:45:32 +0000 (09:45 +0100)]
mediawiki.log: Remove call to console.trace() for each warning
When code that accesses a deprecated property is called multiple times,
every time a deprecation message is logged and a stack trace produced.
And all synchronously as well. This creates a duplicative mess in the
console.
Per T103891, T103610, and reports on IRC, this appears to have a
tendency to crash Firebug.
While less convenient, there are other ways to get the calling
function from a warning (e.g. debugger, breakpoints, pause/step
execution). We don't call it for mw.log.error, either.
This should help reduce noise, speed up execution path, and hopefully
prevent such crashes in the future.
Change-Id: I80428a5e80dbb84b93be2f10340fe29d9bef12d3
jenkins-bot [Sat, 27 Jun 2015 08:39:06 +0000 (08:39 +0000)]
Merge "Chinese Conversion Table Update 2015-5"
Kunal Mehta [Sat, 27 Jun 2015 07:55:24 +0000 (00:55 -0700)]
OOUIHTMLForm: Make the submit button infusable
So people can do things to it like adding click handlers.
Change-Id: Ia51d3aca055709d5205eea1922a2985d1623ed8d
jenkins-bot [Sat, 27 Jun 2015 07:51:37 +0000 (07:51 +0000)]
Merge "RELEASE-NOTES-1.26: Bugzilla is dead, long live Phabricator!"
Chiefwei [Fri, 26 Jun 2015 06:36:07 +0000 (14:36 +0800)]
Chinese Conversion Table Update 2015-5
Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82.
It is only data changes and only works for Chinese WikiProjects.
Change-Id: I0933141b0f06c5b7d7f1fb8153f6433276dc872f
jenkins-bot [Sat, 27 Jun 2015 04:17:16 +0000 (04:17 +0000)]
Merge "build: Updating development dependencies"
paladox [Fri, 19 Jun 2015 20:04:25 +0000 (22:04 +0200)]
build: Updating development dependencies
* mediawiki/mediawiki-codesniffer 0.2.0 → 0.3.0
* jakub-onderka/php-parallel-lint 0.8 → 0.9
Change-Id: I77da850809f926d624bfffbaa8fd81a981f10798
Mark A. Hershberger [Tue, 21 Apr 2015 00:31:48 +0000 (20:31 -0400)]
Allow extensions to set $wgDisableCounters.
Alternatively, removing this completely might surface the issue for users
more quickly. Without this change, resolving {T74420} becomes more of an issue.
Bug: T74420
Change-Id: Ib2dc9ed56a945acb06b64f3b85ff07ac2a6b7600
(cherry picked from commit
6b4d6662b5b5005bb84f4c5e6315288611bf57f1)
umherirrender [Thu, 25 Jun 2015 16:40:18 +0000 (18:40 +0200)]
Remove deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead
Remove also SpecialPageFactory::setGroup because it no long can set $wgSpecialPageGroups.
Also remove SpecialPageFactory::getGroup along with its setter.
All replaces in extensions can be found under:
https://gerrit.wikimedia.org/r/#/q/status:open+branch:master+topic:wgSpecialPageGroups,n,z
https://gerrit.wikimedia.org/r/#/q/status:merged+branch:master+topic:wgSpecialPageGroups,n,z
Change-Id: I1aa8f98bf326b2e54d7403efbb9f002a106cefc5
Ori Livneh [Sat, 27 Jun 2015 00:44:46 +0000 (17:44 -0700)]
Add a scary, all-caps warning to the docs for RejectParserCacheValue
Follows I660679a4.
Change-Id: I65bde4f0f6939c9a1e3e06dcbdbf9856e4416df9
Aaron Schulz [Mon, 8 Jun 2015 19:08:01 +0000 (12:08 -0700)]
Use APC for caching slave lag times
Bug: T101433
Change-Id: Ia37ce5a7aca8217ec57cd8d8c5e43472b3d8845b
Kunal Mehta [Fri, 26 Jun 2015 01:30:40 +0000 (18:30 -0700)]
Improve appearance of libraries on Special:Version
* Added licenses
* Added description (will always be in English)
* Added authors
* Bold library name, like we do with extensions and skins
Change-Id: I880756b489fb5a3f81d398d32162a186a1b919d8
jenkins-bot [Fri, 26 Jun 2015 21:11:01 +0000 (21:11 +0000)]
Merge "Bump wikimedia/composer-merge-plugin to 1.2.0"
Ricordisamoa [Fri, 26 Jun 2015 20:40:07 +0000 (22:40 +0200)]
RELEASE-NOTES-1.26: Bugzilla is dead, long live Phabricator!
Change-Id: I64921cfc5fe3fd9a58710110559035bb0a73364a
Bryan Davis [Fri, 26 Jun 2015 20:37:54 +0000 (14:37 -0600)]
Bump wikimedia/composer-merge-plugin to 1.2.0
* Mark as compatible with composer-plugin-api >=1.0, <2.0
* Hook post-install/post-update so the plugin can take effect on initial
install
* Fix crash when root package includes a branch-alias (#26)
Change-Id: I2e0d141f6e6a80d9667e60a16bec00d52a5eedea
jenkins-bot [Fri, 26 Jun 2015 20:35:25 +0000 (20:35 +0000)]
Merge "Fix and clarify task IDs in RELEASE-NOTES-1.26"
jenkins-bot [Fri, 26 Jun 2015 20:26:12 +0000 (20:26 +0000)]
Merge "Add missing visibility keywords to WebPHandler methods"
Ricordisamoa [Fri, 26 Jun 2015 20:06:29 +0000 (22:06 +0200)]
Fix and clarify task IDs in RELEASE-NOTES-1.26
Change-Id: I8df703b98fdb68bf6ee972b4f8c31f226c50c8f4
Ricordisamoa [Fri, 26 Jun 2015 20:01:39 +0000 (22:01 +0200)]
Add missing visibility keywords to WebPHandler methods
Change-Id: I548a863bfd42c8bbc3e6694a5b2dd96d98bd839c
Stephane Bisson [Thu, 25 Jun 2015 19:13:23 +0000 (15:13 -0400)]
Add 'EnhancedChangesListModifyLineData' hook
Gives extensions a chance to modify the data used to
build each enhanced recent change 'inner' lines
(as opposed to the header lines).
Bug: T102021
Change-Id: Ia8a796fb9621db14d6574e66a4572e1fdf3bad03
btongminh [Sun, 17 Nov 2013 16:43:27 +0000 (17:43 +0100)]
Basic support for WebP
Adds basic image size detection for WebP and support in the
MediaHandler. Currently renders WebP files as PNGs, because that
handles transparency.
Bug: T50519
Change-Id: I3c00653a8a034efc3f6b60fe62b7ac2e5391f921
Translation updater bot [Fri, 26 Jun 2015 19:24:50 +0000 (21:24 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8aab1c2ac6a2956050a3ce5f65aafb47da1b4303
jenkins-bot [Fri, 26 Jun 2015 17:53:53 +0000 (17:53 +0000)]
Merge "Add more return types to Database class"
Fomafix [Wed, 24 Jun 2015 20:27:25 +0000 (20:27 +0000)]
Show {{DEFAULTSORT:0}} on info page
The info page of a page with {{DEFAULTSORT:0}} shows the page title
as default sort value.
Using empty() will consider the string '0' to be false, so use isset() instead.
Bug: T103745
Change-Id: I56ea5a38dcd33e822e0fc5b8685777fe1d212b22
addshore [Fri, 26 Jun 2015 14:47:58 +0000 (16:47 +0200)]
Add more return types to Database class
We expect these to be implemented and where
implemented we expect them to return these types.
This means when typehinting against Database
(Which is done throughout the code as we dont know
what DB we will eb using) warnings about void return
types will no longer be shown by static analysis stuff
Change-Id: I03d85560d9eb92d6df11dba8bc90339bf41cee8c
jenkins-bot [Fri, 26 Jun 2015 07:43:41 +0000 (07:43 +0000)]
Merge "Made text profiler output a bit less noisy by bumping "thresholdMs""
jenkins-bot [Fri, 26 Jun 2015 07:40:58 +0000 (07:40 +0000)]
Merge "database: Make LoadBalancer not yield DB objects that hopelessly lost the connection"
jenkins-bot [Fri, 26 Jun 2015 07:36:32 +0000 (07:36 +0000)]
Merge "database: Throw exceptions when dead mysql DB handles are used instead of fatals"
Aaron Schulz [Mon, 22 Jun 2015 18:05:39 +0000 (11:05 -0700)]
Made text profiler output a bit less noisy by bumping "thresholdMs"
Change-Id: Ie66794c94fb3f6a3dc86ad604162b8e4f91c35ba
Aaron Schulz [Fri, 26 Jun 2015 06:09:52 +0000 (23:09 -0700)]
database: Make LoadBalancer not yield DB objects that hopelessly lost the connection
* This is useful if the first slave picked went down and others
can be used, especially in longer running scripts.
* A possible improvement to this would be to eventually allow
retries by removing the bad handles from the load balancer,
since isOpen() will never change from false. This would only
be useful for very very long running CLI scripts and is
probably an edge case for now.
Change-Id: Iecfc4004b4b2289907a4645b431de19198790d6c
Aaron Schulz [Fri, 26 Jun 2015 05:58:23 +0000 (22:58 -0700)]
database: Throw exceptions when dead mysql DB handles are used instead of fatals
Bug: T103435
Change-Id: I75c4f3a950b3b333a289d0a6a41eb4f00c292121
jenkins-bot [Fri, 26 Jun 2015 06:21:23 +0000 (06:21 +0000)]
Merge "Made User::loadFromId() use READ_NORMAL by default"
jenkins-bot [Fri, 26 Jun 2015 05:44:31 +0000 (05:44 +0000)]
Merge "Fix some PHPCS issues"
Jackmcbarn [Fri, 26 Jun 2015 05:32:28 +0000 (01:32 -0400)]
Fix some PHPCS issues
Change-Id: I6289ce362f8dfde7baf2b665f082820898844973
Prateek Saxena [Sun, 15 Mar 2015 23:27:21 +0000 (04:57 +0530)]
mediawiki.ui: Add a new 'highlightColor' argument to .button-colors() instead of using mix()
Results from mix() aren't the same as the ones in the specification.
Added the correct colors as variables
Change-Id: I43e9413fc8d195f897426eeadce44f9ece294706
jenkins-bot [Fri, 26 Jun 2015 05:07:14 +0000 (05:07 +0000)]
Merge "Fix-up for I2ac604d3c042d"
Ori Livneh [Fri, 26 Jun 2015 04:56:49 +0000 (21:56 -0700)]
Fix-up for I2ac604d3c042d
Log time until picked up.
Change-Id: I67310aa2fdbfcb8b1fd394f490ef4885cf596b0c
jenkins-bot [Fri, 26 Jun 2015 04:18:07 +0000 (04:18 +0000)]
Merge "mw.loader: Omit private modules from the request queue"
Kunal Mehta [Fri, 26 Jun 2015 00:29:33 +0000 (17:29 -0700)]
registration: 'FilterLogTypes' is a JSON object
Change-Id: I01eb28b9d01db8e500e376db9296b4eee85854c1
Aaron Schulz [Thu, 25 Jun 2015 20:03:43 +0000 (13:03 -0700)]
Made User::loadFromId() use READ_NORMAL by default
* This covers CentralAuthHooks::onUserLoadFromSession()
among other cases (OAuth user loading, ect).
Bug: T92357
Change-Id: I9c90027d8852ff8c1d626c03b5dbd765b95b0ce1
Niklas Laxström [Thu, 25 Jun 2015 19:54:19 +0000 (21:54 +0200)]
Add new alias for movepage in Bosnian
Requested by Srdjan_m on IRC
Change-Id: Ied1505d6c3a583c938a20fd37c8175693fcb909c
Translation updater bot [Thu, 25 Jun 2015 18:18:52 +0000 (18:18 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 25 Jun 2015 18:16:57 +0000 (20:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I97aeeac2ad64abd4a8017299f5a79e964155676a
Bartosz Dziewoński [Thu, 25 Jun 2015 17:43:56 +0000 (19:43 +0200)]
Fix instances of preg_quote() without second parameter
This might work in specific cases, depending on the string we're
quoting, but is never correct. The instance in SpecialAllMessages.php
was resulting in incorrect behavior (and log spam, T103879).
Searched for this regex: preg_quote\((?:\([^)]+?\)|[^,()])+?\)
Change-Id: Icc88775970f4927ddf953e5ad7c5c19d59491573
Florian [Thu, 25 Jun 2015 12:56:05 +0000 (14:56 +0200)]
Fix Button label in OOUI HTML Form and enable flags
An OOUI Button now adds the value as a label of the button, too. Enable
the HTMLForm descriptor to pass flags to the OOUI Button widget, which
defaults to nothing in HTMLButtonField and to 'primary' and 'constructive'
in HTMLSubmitField.
Change-Id: Ibf561453604a830862d4f64819c8418a9458cb12
Bartosz Dziewoński [Thu, 25 Jun 2015 11:08:18 +0000 (13:08 +0200)]
Remove 'direction: ltr' from 'pre' styles
The 'direction' and 'unicode-bidi' rules must not be made default.
Right-to-left languages can use preformatted text too!
Follow-up to
054b1c9e3cd82ee96bb6ee2be3026497e5f9f099.
(Also linked T2260, which that commit fixed.)
Bug: T103780
Change-Id: Ieab6b1473e6ce0faed3617d11e57cd2b4f3ef6df
jenkins-bot [Thu, 25 Jun 2015 10:26:02 +0000 (10:26 +0000)]
Merge "Change "userright" to "user right""
jenkins-bot [Thu, 25 Jun 2015 10:17:54 +0000 (10:17 +0000)]
Merge ""spellcheck" attribute for HTMLForm "text" and "textarea""
jenkins-bot [Thu, 25 Jun 2015 08:08:36 +0000 (08:08 +0000)]
Merge "Add a preposition for clarity"
jenkins-bot [Thu, 25 Jun 2015 07:18:14 +0000 (07:18 +0000)]
Merge "Also support skin.json for updating JSON AutoloadClasses"
jenkins-bot [Thu, 25 Jun 2015 07:00:09 +0000 (07:00 +0000)]
Merge "Wrap lines in <pre> and .mw-code by default"